package com.ccloud.common.core.model;

import com.ccloud.common.core.utils.ValueUtils;
import lombok.Data;

/**
 * 保存登录用户的信息，此处可以根据业务需要扩展
 */
@Data
public class LoginVal extends JwtInformation{

    private String userId;

    private String username;

    private String[] authorities;

    public Integer getIntegerUserId() {
        return ValueUtils.parseInteger(userId) ;
    }
}
